<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>混凝土试件</title>
<style type="text/css">
.detect {
	width: 100%;
}

.detect td {
	padding: 0.2em 0px 0.2em 8px;
	width: 50px;
}

.detect th {
	text-align: center;
}

.detect td input[type="text"] {
	width: 55px;
	text-align: center;
}
</style>
<script type="text/javascript"
	src="<c:url value='/ext/ui/jquery-ui-1.8.12.custom.min.js'/>"></script>
<link href="${ctx}/styles/lightness/jquery-ui-1.8.12.custom.css"
	rel="stylesheet" />
</head>
<body>
	<form action="${ctx}/receive/wt01/trialwt01!save.action" method="post"
		id="inputForm" class="yform">
	<input type="hidden" name="id" value="${id }">
		<table>
			<tr>
				<td style="width: 110px">工程名称:</td>
				<td colspan="4">${relationship.proj.projName }</td>
				<td style="width: 100px">委托编号:</td>
				<td colspan="2">${entrustNum }</td>
			</tr>
			<tr>
				<td>委托单位:</td>
				<td colspan="4">${relationship.entrustorgid}</td>
				<td>送检日期:</td>
				<td colspan="2"><fmt:formatDate value="${checkdate }" pattern="yyyy-MM-dd"/></td>
			</tr>
			<tr>
				<td>检验类别:</td>
				<td colspan="4">
				<pt:code category="5001" name="check" toScope="request"></pt:code>
				<c:forEach items="${check }" var="p">
				<input type="checkbox" <c:if test="${checktype == p.value }">checked="checked"</c:if>>${p.label }
				</c:forEach>
				</td>
				<td>样品处理意见:</td>
				<td><input type="checkbox"  value="0" <c:if test="${idea != 1 }">checked="checked"</c:if>>不退样</td>
					<td><input type="checkbox"  value="1" <c:if test="${idea == 1 }">checked="checked"</c:if>>退样
				</td>
			</tr>
			<tr>
				<td>见证单位:</td>
				<td colspan="3">${relationship.witnessorgid }</td>
				<td align="right">见证人:</td>
				<td>${witnesses }</td>
				<td style="width: 70px">联系电话:</td>
				<td align="left">${wphone }</td>
			</tr>
			<tr>
				<td>委托送样人:</td>
				<td>${ operations}</td>
				<td style="width: 100px; text-align: right;">联系电话:</td>
				<td>${ ophone}</td>
				<td style="width: 70px" align="right">抽检人:</td>
				<td>${ checkpeople}</td>
				<td>联系电话:</td>
				<td align="left">${checkphone }</td>
			</tr>
		</table>
		<table>
			<tr>
				<td rowspan="2" style="width: 60px">检验项目依据标准</td>
				<td rowspan="2">
					<table>
					
					<tr>
				<td rowspan="2">检验项目依据标准</td>
				<td rowspan="2">
					<table>
						<tr>
							<td>1: 砼试件 : <input type="checkbox" name="ord" value="11"
								<c:forEach items="${orders}" var="p"><c:if test="${p.type == 11 }">checked="checked"</c:if></c:forEach>>立方体抗压
								<input type="checkbox" name="ord" value="12"
								<c:forEach items="${orders}" var="p"><c:if test="${p.type == 12 }">checked="checked"</c:if></c:forEach>>抗折
								<input type="checkbox" name="ord" value="13"
								<c:forEach items="${orders}" var="p"><c:if test="${p.type == 13 }">checked="checked"</c:if></c:forEach>>断块抗压
								<input type="checkbox" name="ord" value="14"
								<c:forEach items="${orders}" var="p"><c:if test="${p.type == 14 }">checked="checked"</c:if></c:forEach>>抗渗性
							</td>
						</tr>
						<tr>
							<td>2: 砼芯样 : <input type="checkbox" name="ord" value="21"
								<c:forEach items="${orders}" var="p"><c:if test="${p.type == 21 }">checked="checked"</c:if></c:forEach>>芯样抗压
								<input type="checkbox" name="ord" value="22"
								<c:forEach items="${orders}" var="p"><c:if test="${p.type == 22 }">checked="checked"</c:if></c:forEach>>芯样劈裂
								3 : <input type="checkbox" name="ord" value="31"
								<c:forEach items="${orders}" var="p"><c:if test="${p.type == 31 }">checked="checked"</c:if></c:forEach>>砂浆试件抗压
							</td>
						</tr>
						<tr>
							<td>试验依据 : <<公路工程水泥及水泥混凝土试验规程>>JTG
								E20-2002 , CECS03:2007 , &nbsp; DBJ15-60-2008 , JGJ 70-90 , GBJ
								97-87 <input type="hidden" name="standard"
									value="试验依据 : <<公路工程水泥及水泥混凝土试验规程>>JTG
								E20-2002 , CECS03:2007 , &nbsp; DBJ15-60-2008 , JGJ 70-90 , GBJ
								97-87 " /></td>
						</tr>
					</table>
				</td>
				<td style="width: 90px">收费金额:</td>
				<td><font color="RED">${amount }</font></td>
			</tr>
			<tr>
				<td>收费人签名:</td>
				<td>${feeearner }</td>
			</tr>
		</table>
		<table id="tab">
			<tr>
				<th align="center">&nbsp;&nbsp;试样名称
				</th>
				<th align="center" style="width: 70px">品名规格</th>
				<th align="center" style="width: 60px">强度<br />等级(MPa)
				</th>
				<th align="center" style="width: 60px">数量<br />(组或个)
				</th>
				<th align="center" style="width: 70px">灌注日期</th>
				<th align="center" style="width: 70px">试验日期</th>
				<th align="center" style="width: 120px">工程部位</th>
			</tr>
			
			<c:forEach items="${oldTrialwt01s }" var="o" varStatus="sn">
				<tr id="old${sn.index }">
					<td>${o.name }</td>
				<td>${o.standard}</td>
				<td>${o.strengthlevel  }</td>
				<td>${o.amount  }</td>
				<td><fmt:formatDate value="${o.perfusiondate}" pattern="yyyy-MM-dd"/></td>
				<td><fmt:formatDate value="${o.sampledate}" pattern="yyyy-MM-dd"/></td>
				<td>${o.source}</td>
				</tr>
			</c:forEach>
		</table>
		<table>
			<tr>
				<td style="width: 110px">收样人:</td>
				<td align="left">${acceptkindpeople }</td>
				<td style="width: 70px">&nbsp;</td>
				<td style="width: 70px">&nbsp;</td>
				<td style="width: 70px">&nbsp;</td>
				<td style="width: 70px">&nbsp;</td>
				<td align="right">预约报告日期:</td>
				<td>${reportdate }</td>
			</tr>
		</table>
		<div class="type-button" align="center">
			<input  type="button" value="关闭" class="reset"
				onclick="window.parent.close()" />
		</div>
		</div>
	</form>
	<p style="padding-left: 20px">说明:&nbsp;1.以上表格除粗线框内内容由我中心填写外，其它内容均由委托方填写。试样状态或描述为：正常时打√，不正常的注明具体情况。</p>
	<p style="padding-left: 24px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.委托方应确认检验项目、检验依据，并对所提供样品和资料的真实性负责，样品的制备应复核相关标准要求，应按规定支付费用。</p>
	<p style="padding-left: 24px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.如为见证送检或监督抽检（含 本中心人员现场抽样），见证人或抽检人在签名栏签名，对试样的真实性和代表性负责。</p>
	<p style="padding-left: 24px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;单位地址：东莞市东城区立新交通大厦后。送样委托：22002711-8355&nbsp; 报告查询：22002711-8131 &nbsp;抱怨投诉：22002768 &nbsp;传真：22002767</p>
</body>
</html>